<?php
if ($_POST['resetCookie']) setcookie('AsirraTicketChallengeTime', '', time()-10000);


include "Asirra.class.php";
new Asirra();


if ($_POST['text']) print "You submitted " . $_POST['text'];

?>
<html>
  <body>
    <form method="POST">

      Text: <input type="text" name="text" />
      <input type="submit" />
      
      <br/>
      
      <input type="submit" name="resetCookie" value="reset cookie and do the challenge again" />
      
    </form>
    
  </body>
</html>
